package com.itheima.api;

import com.itheima.domain.User;
import com.itheima.domain.UserInfo;

import java.util.List;
import java.util.Map;

public interface UserInfoApi {

    void save(UserInfo userInfo);

    void update(UserInfo userInfo);

    void delete(UserInfo userInfo);

    UserInfo getById(Long id);

    Map<Long,UserInfo> getByIds(List<Long> userIds,UserInfo userInfo);
}
